/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.seari.citectweb.service;

import com.seari.citectweb.bean.UserPrivilege;
import com.seari.citectweb.pojo.QueryUserPrivilege;
import java.util.List;

/**
 *
 * @author Rainbow
 */
public interface UserPrivilegeService
{
    public List<UserPrivilege> getUserPrivilegeByParams(QueryUserPrivilege qup);
    public int checkUserPrivilegeExist(QueryUserPrivilege qup);
    public int addUserPrivilege(UserPrivilege userPrivilege);
    public int updateUserPrivilege(UserPrivilege userPrivilege);
    public int deleteUserPrivilege(int upid);
}
